package com.hxjb.controller;

import com.huamo.model.result.CommonJsonResult;
import com.hxjb.service.IDynamicDSTestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by wt on 2018/4/19.
 */
@RestController
public class DynamicDSTestController {
    @Autowired
    private IDynamicDSTestService dynamicDSTestService;

    @GetMapping(value = "getTicketMsgRecordCount")
    public CommonJsonResult getTicketMsgRecordCount() {

        CommonJsonResult jsonResult = new CommonJsonResult();

        Integer count = dynamicDSTestService.getTicketMsgRecordCount();
        jsonResult.setInfoMap("count",count);

        return jsonResult;
    }

}
